
$seckill-color: #E93423;
.page{
  flex: 1;
  display: flex;
  background: $theme_bg_color;
  min-height: 100vh;
  flex-direction: column;
  .tab-scroll{
    //height: 160px;
    width: 96%;
    top: 0;
    //left: 0;
    //right: 0;
    z-index: 10;
    position: sticky;
    margin: -80px auto 0;
    border-radius: 20px;
    background: #fff;
    //margin-top: -20px;
  }
  .tab-scroll__bg{
    background: #fff;
  }
}

.seckill_bg{
  height: 220px;
  background: #da4944;
  font-size: 40px;
  color: #fff;
  padding-top: 40px;
}

.tab-list{
  display: flex;
  padding: 20px;
  white-space: nowrap;
  height: 160px;
  align-items: center;
  .tab-item{
    //width: 90px;
    display: inline-flex;
    align-items: center;
    margin-right: $page_margin;
    flex-direction: column;
    color: #999;
    &:last-child{
      width: 90px + $page_margin;
      padding-right: $page_margin;
    }
  }
  .tab-img{
    width: 108px;
    height: 100px;
  }

  .tab-time{
    font-size: 40px;
    padding-bottom: 10px;
  }
  .tab-text{
    height: 30px;
    padding: 0 10px;
    font-size: 18px;
    line-height: 1;
    border-radius: 30px;
  }

  .tab-active{
    .tab-time{
      color: $app-sale-price-color;
    }
    .tab-text{
      color: #fff;
      background: $seckill-color;
    }
  }
}


.goods-list{
  padding: $page_margin;
  .goods-item{
    display: flex;
    padding: 20px;
    position: relative;
    background: #fff;
    border-radius: 20px;
    margin-bottom: $page_margin;
    &:last-child{
      margin: 0;
    }
  }

  .goods-img{
    width: 180px;
    height: 180px;
    border-radius: 10px;
  }

  .goods-info{
    flex: 1;
    padding-left: 20px;
  }

  .goods-name{
    margin-bottom: 10px;
  }
  .goods-price{
    margin-bottom: 10px;
  }
  .sale-price{
    color: $app-sale-price-color;
    font-size: 36px;
    &__unit{
      font-size: 24px;
    }
  }
  .origin-price{
    color: $app-origin-price-color;
    font-size: 24px;
    padding-left: 10px;
    text-decoration: line-through;
  }
  .goods-desc{
    color: #999;
    font-size: 20px;
    margin-bottom: 6px;
  }

  .buy-btn{
    color: #fff;
    width: 150px;
    height: 54px;
    right: 24px;
    bottom: 24px;
    position: absolute;
    background: $seckill-color;
    border-radius: 54px;
  }
}


.progress{
  width: 250px;
  height: 20px;
  overflow: hidden;
  position: relative;
  background: rgba(#E93423, .4);
  border-radius: 40px;
  &-bg{
    width: 30%;
    height: 100%;
    background: $seckill-color;
    border-radius: 20px;
  }
  &-text{
    top: 50%;
    left: 50%;
    color: #fff;
    position: absolute;
    transform: translate(-50%, -50%);
    font-size: 18px;
    line-height: 1;
  }
}





